package com.youxin.cpcenter.service.impl;

import com.youxin.cpcenter.bean.EntMemberBean;
import com.youxin.cpcenter.bean.RequestEntMemberBean;
import com.youxin.cpcenter.dao.TbEntMemberInfoMapper;
import com.youxin.cpcenter.service.EntMemberService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @desc 企业成员
 * @author Kris.wang
 * @date 2017-12-22
 */
@Service("entMemberService")
public class EntMemberServiceImpl implements EntMemberService {

    @Autowired
    private TbEntMemberInfoMapper tbEntMemberInfoMapper;

    @Override
    public List<EntMemberBean> selectMembersByCompanyUid(RequestEntMemberBean bean) {
        return tbEntMemberInfoMapper.selectMembersByCompanyUid(bean.getCompanyUid());
    }
}
